package com.glela.live.service.impl;

import com.glela.live.mapper.LiveAudienceCountMapper;
import com.glela.live.model.LiveAudienceCount;
import com.glela.live.service.LiveAudienceCountService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by jinweiwei on 2018/3/2.
 */
@Service
public class LiveAudienceCountServiceImpl implements LiveAudienceCountService{

    @Autowired
    private LiveAudienceCountMapper liveAudienceCountMapper;

    @Override
    public int add(LiveAudienceCount liveAudienceCount) {
        return liveAudienceCountMapper.add(liveAudienceCount);
    }
}
